/******************************

#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <iostream>
//for setw, precision()
#include <iomanip>
using namespace std;

class sophuc{
	int a,b;
public:
	int getA(){
		return a;
	}
	int getB(){
		return b;
	}
	sophuc(){}
	sophuc(int _a, int _b){
		a = _a;
		b =_b;
	}
	void hienthi(){
		if (b>0)
		{
			cout<<"\n"<<a<<"+"<<b<<"i";
		}
		else if (b==0)
		{
			cout<<"\n"<<a;
		}
		else
		{
			cout<<"\n"<<a<<b<<"i";
		}

	}
	float operator ~(){
		return sqrt(a*a+b*b);
	}


};
void main(){
	sophuc s = sophuc(2,-3);
	float f = ~s;
	s.hienthi();
	getch();
}

/**********************************/